package com.wolves.career.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author 麦翔盛
 * @since 2021-10-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "IndustryInformationInformation对象", description = "")
public class IndustryInformationInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资讯ID")
    @TableId(value = "information_id", type = IdType.ID_WORKER_STR)
    private String informationId;

    @ApiModelProperty(value = "资讯标题")
    private String title;

    @ApiModelProperty(value = "资讯内容")
    private String content;

    @ApiModelProperty(value = "点击量")
    private Integer views;

    @ApiModelProperty(value = "发布人员ID")
    private String releaseStaffId;
    /**
     *
     */
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    /**
     * 逻辑删除
     */
    @TableLogic
    @ApiModelProperty(value = "逻辑删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "分类ID")
    private String classificationId;

    @ApiModelProperty(value = "咨询作者")
    private String author;
}
